Grid View

Grid View is a spreadsheet-like view showing documents and fields as rows and columns. The navigation bar allows you to switch the documents quickly, insert or delete documents.

To add a document using the grid

Note: If your collection is empty, a window will pop up for you to add documents.

To add a document using the pop-up window

To edit a document using the grid

To edit a document using the pop-up window

Note: Close the collection is another way to save the documents.

To delete a document

Edit Documents with Special Handling

To set the cell value to an empty string or NULL, click on a cell to enter edit mode, and then control-click the cell and select Set to Empty String or Set to NULL.

To edit a DateTime data, just simply click Index Button to open the editor for editing. Choose/enter the desired data.

To change the type of a cell value, click on a cell to enter edit mode, and then control-click the cell and select Value Type. Then, select the desired type.

Copy Data from Navicat

Data that being copied from Navicat goes into the clipboard with the fields delimited by tabs and the documents delimited by carriage returns. It allows you to easily paste the clipboard contents into any application you want. Spreadsheet applications in general will notice the tab character between the fields and will neatly separate the clipboard data into rows and columns.

To select data using keyboard shortcuts

COMMAND-A

Toggle the selection of all rows and columns in the data grid.

SHIFT-UP ARROW

Toggle the selection of rows as you move up in the data grid.

SHIFT-DOWN ARROW

Toggle the selection of rows in the data grid as you move down.

To select data using mouse actions

Note: After you have selected the desired documents, just simply press COMMAND-C or choose Edit -> Copy.

Paste Data into Navicat

Data are copied into the clipboard will be arranged as below format:

When pasting data into Navicat, you can replace the contents of current documents and append the clipboard data into the collection. To replace the contents of current documents in a collection, you must select the rows in the data grid whose contents must be replaced by the data in the clipboard. Just simply press COMMAND-V or choose Edit -> Paste. Navicat will paste all the content in the clipboard into the selected rows. The paste action cannot be undone if you do not enable transaction.

Copy Field Name

To copy field names as tab separated values, control-click the selected fields/documents and select Copy As -> Tab Separated Values (Field Name only). If you want to copy data only or both field names and data, you can choose Tab Separated Values (Data only) or Tab Separated Values (Field Name and Data) respectively.

Filter Documents

Use either of the following methods to filter the data in the grid:

Format Grid View

Use the following methods to format the collection grid:

Highlight Cells based on Types

Grid View allows highlighting cells based on data types to make particular cells easy to identify. The Type Color pane is on the right side of the grid. If the grid window is docked to the Navicat main window, you can click the Type Color icon in the Information pane to set the color.

To apply the color, click the Type Color button on the toolbar or check the Enable Coloring option on the Type Color pane.

Expand/Collapse Embedded Documents

Grid View allows embedded documents to be expanded alongside other columns for easier data analysis. To expand or collapse an embedded document, just simply click on the cell with embedded document and click Expand or Collapse, or control-click the cell and select Expand, Collapse or Collapse All Embedded Documents.

Expand Arrays

Grid View allows showing all elements in an array. To expand array elements, just simply click on the cell with array elements and click Expand, or control-click the cell with array elements and select Expand.

All array elements display on a new grid. You can view, add or delete the elements here. Click the collection name to jump back to the collection grid.

Move Columns

Set Column Width

Hint: The result applies on all columns.

Set Row Height

Control-click anywhere on the collection grid and select Set Row Height or select from the View menu. Specify row height in the Set Row Height dialog.

Hint: This action applies on the current collection grid only.

Show/Hide Columns

If there are many columns in the collection and you want to hide some of them from the collection grid, just simply control-click anywhere on the collection grid and select Show/Hide Columns or select from the View menu. Select the columns that you would like to hide.

The hidden columns will disappear from the collection grid.

To unhide the columns, just simply control-click anywhere on the collection grid and select Show/Hide Columns or select from the View menu. Select the columns that you would like to redisplay.